package top.glike.funct.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import top.glike.common.annotation.Excel;
import top.glike.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 认证信息对象 bed_token
 *
 * @author Sophia
 * @date 2024-03-07
 */
@Data
public class BedToken extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * token名称
     */
    @Excel(name = "token名称")
    private String name;

    /**
     * 认证标识
     */
    @Excel(name = "认证标识")
    private String token;

    /**
     * 过期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireTime;

}
